# $Id: PKGBUILD 65465 2012-02-21 05:56:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=stalonetray
pkgver=0.8.1
pkgrel=2
pkgdesc="STAnd-aLONE sysTRAY. It has minimal build and run-time dependencies: the Xlib only."
arch=('i686' 'x86_64')
url="http://stalonetray.sourceforge.net"
license=('GPL')
depends=('libx11' 'libxpm')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('3bf4c7e5e3c077f26242b37a8e008774')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
  make DESTDIR=$pkgdir install
  install -D -m644 stalonetrayrc.sample $pkgdir/etc/stalonetrayrc
}
